package com.moli.iov.down.model.dto.remoting;

import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 * 下发命令请求DTO
 * </p>
 *
 * @author zql
 * @since 2019/9/17 15:08
 */
@Data
public class CommandReqDto implements Serializable {

  private static final long serialVersionUID = 6412052021461149531L;

  public CommandReqDto() {
  }

  public CommandReqDto(String vin, Integer operateType, Boolean isRetry) {
    this.vin = vin;
    this.operateType = operateType;
    this.isRetry = isRetry;
  }

  /**
   * vin
   */
  private String vin;

  /**
   * 命令
   */
  private Integer operateType;

  /**
   * 是否补发 重试
   */
  private Boolean isRetry;

  /**
   * ip
   */
  private String ip;

  /**
   * 平台端口
   */
  private Integer port;

  /**
   * 实时数据上报频率
   */
  private Integer frequency;
}
